import request from '@/utils/request'

export function loginApi(data: { account: string; password: string }): Promise<ApiResponse> {
  return request({
    url: '/login/doLogin',
    method: 'post',
    data
  })
}
